package design.State;

/**
 * Created by looper on 2017/8/24.
 */
public abstract class State {
  private StateName stateName;
  public abstract void changeState(Context context);

  public State(StateName stateName){
    this.stateName = stateName;
  }

  public StateName getStateName() {
    return stateName;
  }

  public void setStateName(StateName stateName) {
    this.stateName = stateName;
  }
}
